﻿using System.Linq;
namespace TNPTN.Services
{
    /// <summary>
    /// Download Service
    /// Author : jabraok
    /// </summary>
    public class TDownloadService : Abstract.AbstractService<DB.TDownload>
    {
        /// <summary>
        /// Count List
        /// </summary>
        /// <returns>count as int</returns>
        public int CountList()
        {
            return this.Context.TDownloads.Count();
        }
    }
}